<!-- /* Description for file.
 * 项目状态列表
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/views/projectstates
 * @since         ues
 * @version       V0.0.1
 * @modifiedby    张海杰2011年0612
 * @lastmodified  张海杰2011年0613
 */
 -->



<?php
echo $html->css ( 'style' );
echo $html->css ( 'tab' );
//print_r($customertypes);
?>
<!-- 当前位置-->
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubartitle1"><?php echo  __('YourPosition');//您现在的位置：?></td>
		<td class="tabmenubartitle2"><?php echo __('Customer Managements');//一级目录
										   echo '>';echo __('Customer Managements');//二级目录
										   echo '>';echo __('Customer Managements Detail');//详细信息
										   echo '>';echo __('Linkman');//联系人
										   
										   echo '>';?>
									<?php echo $html->tag('span', __('link item',true));//当前操作地用span加粗?> 						  
		</td>
	</tr>
</table>
</div>
<!-- 当前位置-->

<!-- 项目状态列表 -->
<div id="nav1" style="width:97%">
<table width="100%" cellpadding="0" cellspacing="0" class="tab1">
	<tr>
		<th ><?php echo __('编号');?></th>
		<th ><?php echo __('接单日期');?></th>
		<th ><?php echo __('公司名称');?></th>
		<th ><?php echo __('职位');?></th>
		<th ><?php echo __('顾问');?></th>
		<th ><?php echo __('人数');?></th>
		<th ><?php echo __('进度');?></th>
		<th ><?php echo __('级别');?></th>
		<th ><?php echo __('录用人');?></th>
		<th ><?php echo __('顾问提成');?></th>
		<th ><?php echo __('项目备注');?></th>
		<th ><?php echo __('是否完成');?></th>
	</tr>
	<!-- Here's where we loop through our $Notes array, printing out post info --> 
	
	<?php 
	foreach ($projectData as $data): 
	
	?>
		<tr class=normal onmouseover='this.className= "over " '
			onmouseup='this.className= "over " '
			onmouseout='this.className= "normal " '>
			<td>
				<?php echo $html->link( $data['Projectmanagement']['projectCode'], '/projectmanagements/initProjectManage/'.$data['Projectmanagement']['id'], null,null,
				array('escape'=>false));  ?> 
			</td>
			<td><?php echo $data['Projectmanagement']['projectDate']; ?></td>
			<td>
				<?php echo "<a onclick='window.open(\"<?php echo ROOT_WEB_PATH; ?>/projectmanagements/getID/".$data['Projectmanagement']['id']."\")'>".$data['Projectmanagement']['projectCompany']."</a>"; ?>
				<?php //echo $html->link( $data['Projectmanagement']['projectCompany'], '/channelmanages/channelmanagemessage/'.$data['Companymanage']['id'], null,null,
					//array('escape'=>false));  ?> 
			</td>
			<td>
				<?php echo "<a onclick='window.open(\"<?php echo ROOT_WEB_PATH; ?>/projectmanagements/getPosition/".$data['Projectmanagement']['id']."\")'>".$data['Projectmanagement']['projectCompanyPosition']."</a>"; ?>
				<?php //echo $html->link( $data['Projectmanagement']['projectCompany'], '/channelmanages/channelmanagemessage/'.$data['Companymanage']['id'], null,null,
					//array('escape'=>false));  ?> 
			</td>
			<td><?php echo $data['Projectmanagement']['projectAdvisor']; ?></td>
			<td><?php echo $data['Projectmanagement']['totalEmployment']; ?></td>
			<td><?php echo $data['Projectmanagement']['projectprocess']; ?></td>
			<td><span style="color:red"><?php echo $data['Projectmanagement']['projectLevel']; ?></span></td>
			<td><?php echo $data['Projectmanagement']['employers']; ?></td>
			<td><?php echo $data['Projectmanagement']['advisorDeduct']; ?></td>
			<td><?php echo $data['Projectmanagement']['memo']; ?></td>
			<td><?php if($data['Projectmanagement']['projectStatue']=="进行中"){echo "未完成";}else{echo "已完成";} ?></td>
		</tr> 
	<?php endforeach; ?>  
</table>
</div>

<!-- 项目状态列表 -->

